package com.tianya.service;

import com.tianya.domain.dto.TeacherRequestDTO;
import com.tianya.domain.entity.Teacher;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tianya.domain.vo.PageResultVO;
import com.tianya.domain.vo.TeacherVO;

import java.util.List;

/**
* @author 86191
* @description 针对表【teacher(教师表)】的数据库操作Service
* @createDate 2025-05-24 19:00:08
*/
public interface TeacherService extends IService<Teacher> {

    void createTeacher(TeacherRequestDTO teacherRequestDTO);

    void editTeacher(Long id, TeacherRequestDTO teacherRequestDTO);

    TeacherVO getTeacherDetailVO(Long id);

    PageResultVO<TeacherVO> pageList(Integer page, Integer size, TeacherRequestDTO teacherRequestDTO);

    List<TeacherVO> getAllTeachers();

    TeacherVO getTeacherByUserId(Long userId);
}
